package com.segersten.othello.service.akka.game;

import com.google.common.base.Function;
import com.segersten.othello.model.RoundAction;

public enum RoundActionToActionFunction implements Function<RoundAction, Action>
{
    INSTANCE;

    @Override
    public Action apply(RoundAction roundAction)
    {
        return new Action(roundAction.getPoint(), roundAction.getColor());
    }

    
}
